package main

import "fmt"

func main() {
	fmt.Println("输出到控制台不换行")
	fmt.Println("----------")

	fmt.Println("输出到控制台")
	fmt.Println("name=%s,age=%d\n", "tom", 30)
	fmt.Println("name=%s,age=%d,height=%v\n", "tom", 30, fmt.Sprintln("%.2f", 180.567))
}
